﻿using QCore.AssetMgr;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;

namespace QCore
{
    /// <summary>
    /// 程序入口，初始化类
    /// </summary>
    public class Init : MonoBehaviour
    {
        public Text debugText;

        private void Awake()
        {
            DontDestroyOnLoad(this);
            Debugger.Instance.text = debugText;
            Debugger.Instance.Init();
        }

        private void Start()
        {
            StartCoroutine(ABMgr.Instance.LoadManifest());
        }
    }
}
